package com.hzhr.iot.user.dao.mapper.custom;

import com.hzhr.iot.user.entity.ActionEntity;
import com.hzhr.iot.user.entity.ext.ActionEntityExt;
import com.hzhr.iot.user.queryModel.custom.ActionCustomQueryModel;

import java.util.List;

public interface ActionEntityCustomMapper {
    //批量新增
    int insertBatch(List<ActionEntity> recordList);
    //批量更新
    int updateBatch(List<ActionEntity> recordList);
    //批量更新
    int updateBatchSelective(List<ActionEntity> recordList);
    //通用查询
    List<ActionEntityExt> selectExt(ActionCustomQueryModel queryModel);
    //通用查询数量
    int selectCount(ActionCustomQueryModel queryModel);
    //通用修改属性
    int updateProps(ActionCustomQueryModel queryModel);
    //通用删除
    int delete(ActionCustomQueryModel queryModel);

    //自定义查询
    List<ActionEntityExt> selectExt1(ActionCustomQueryModel queryModel);
    int selectCount1(ActionCustomQueryModel queryModel);
}
